package com.boot.service;

import com.boot.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.result.Result;

import java.util.concurrent.ExecutionException;

/**
* @author liyan
* @description 针对表【order】的数据库操作Service
* @createDate 2025-05-10 15:30:16
*/
public interface OrderService extends IService<Order> {

    Result createOrder(int productId, int quantity, String userId) throws ExecutionException, InterruptedException;
}
